<template>
	<view>
		<web-view :src="h5Url" bindload="bindload" binderror="binderror"></web-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				h5Url:""
			}
		},
		onLoad(option) {
			this.h5Url = 'https://' + option.url
		},
		methods: {
			binderror(e){
				console.log(e,"失败了")
			},
			bindload(e){
				console.log(e,"成功了")
			},
		}
	}
</script>

<style>

</style>
